<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&;key=39c0972805c0bd7f0e7649ee5ab9258c"></script>
<div th:fragment="facilityDiv" id="facilityDiv">
	<div id="facilityBtn">
		<img th:src="@{/resources/images/facility.png}" style="width: 100%" />
	</div>
</div>
<p th:fragment="header" class="topTitle">
	<img th:src="@{/resources/images/Logo_2.png}"
		th:text="#{title.application}" />
</p>
<div th:fragment="leftNav" class="leftNav">
	<a href="javascript:void(0)">标签</a> <a
		href="javascript:void(0)" th:text="#{menu.add}">新增</a> <a
		href="javascript:void(0)" th:text="#{menu.router}">路由器</a> <a
		href="javascript:void(0)" th:text="#{menu.map}">地图</a> <a
		href="javascript:void(0)" th:text="#{menu.user}">用户</a>
	<th
		th:if="${session.login_user_session}!=null? ${session.login_user_session.gid} eq 1 : false">
		<a href="javascript:void(0)">统计</a> 
		<a href="javascript:void(0)">警告(<span
			id="warningNum" style="color: #FF8000">0</span>)
	</a>
	</th>
</div>
<div th:fragment="title(username)" class="title">
	<span id='rightMain_title' class="left"></span>
	<div class="right" id="titleRight">
		<img class="userPng" style="vertical-align: middle;height: 20px;"th:src="@{/resources/images/user.png}"/>
		<a th:text="#{user.logout}">退出</a>
		<a th:text="${username?: '未知'}">用户名</a>
	</div>
</div>

<div th:fragment="rightMain" class="rightMain"></div>

</html>